package edu.sctu.zhuyingzhi.month201505.day20150525;

import java.awt.*;

/**
 * Created by user13 on 2015/5/25.
 */
public class DayClient {
    public static void main(String[] args) {
        Frame f = new Frame("Hello World!");
        f.setLocation(100,200);
        f.setSize(200,200);
        f.setBackground(Color.pink);
        FlowLayout f1 = new FlowLayout();
        f.setLayout(f1);
//        f.setTitle("朱英智");
        Button b1 = new Button("OK!");
        Button b2 = new Button("Cancel");
        f.add(b1);
        f.add(b2);
        f.setVisible(true);
    }
}
